package oop.controller.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import oop.controller.ControllerServlet;


public interface Action {

	public void perform() throws Exception;

	public ControllerServlet getController();

	public void setController(ControllerServlet controller);

	public void setRequest(HttpServletRequest request);

	public HttpServletRequest getRequest();

	public void setResponse(HttpServletResponse response);

	public HttpServletResponse getResponse();

	public String getNextAction();
	
	public String getPreviousQuery();

	public boolean isPreventForward();

}